From: Jonathan Lebon Date: Tue, 5 Sep 2017 18:27:20 +0000 (-0400) Subject: bin/admin: Don't require root for instutil X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~32^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4efab3feb07487cec80823ddfe48f32f2853e746;p=ostree.git bin/admin: Don't require root for instutil Otherwise, we can't even do `--help` on it. The subcommands all already have the root flag set. Closes: #1126 Approved by: cgwalters --- diff --git a/src/ostree/ot-admin-builtin-instutil.c b/src/ostree/ot-admin-builtin-instutil.c index 2baa27f7..7b446e93 100644 --- a/src/ostree/ot-admin-builtin-instutil.c +++ b/src/ostree/ot-admin-builtin-instutil.c @@ -106,7 +106,7 @@ ot_admin_builtin_instutil (int argc, char **argv, GCancellable *cancellable, GEr /* This will not return for some options (e.g. --version). */ if (ostree_admin_option_context_parse (context, NULL, &argc, &argv, - OSTREE_ADMIN_BUILTIN_FLAG_SUPERUSER | OSTREE_ADMIN_BUILTIN_FLAG_UNLOCKED, + OSTREE_ADMIN_BUILTIN_FLAG_UNLOCKED, NULL, cancellable, error)) { if (subcommand_name == NULL)